home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{AADCC4A5-0FC3-11D2-89AB-60E64CC10000}#1.0#0"; "FLATCMBO.OCX"
- Begin VB.Form Form1
- BorderStyle = 3 'Fixed Dialog
- Caption = "FlatCombo Control Example"
- ClientHeight = 3180
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 4830
- Icon = "Test.frx":0000
- LinkTopic = "Form1"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3180
- ScaleWidth = 4830
- StartUpPosition = 2 'CenterScreen
- Begin VB.TextBox Text1
- Height = 885
- Left = 180
- MultiLine = -1 'True
- TabIndex = 0
- Text = "Test.frx":0442
- Top = 1605
- Width = 4485
- End
- Begin VB.CommandButton Command1
- Caption = "&Close"
- Height = 390
- Left = 3540
- TabIndex = 1
- Top = 2640
- Width = 1140
- End
- Begin VB.CheckBox Check2
- Caption = "Enable Combo"
- Height = 345
- Left = 180
- TabIndex = 3
- Top = 1125
- Value = 1 'Checked
- Width = 1770
- End
- Begin VB.CheckBox Check1
- Caption = "Enable FlatCombo"
- Height = 345
- Left = 180
- TabIndex = 2
- Top = 810
- Value = 1 'Checked
- Width = 1770
- End
- Begin VB.ComboBox Combo1
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 315
- ItemData = "Test.frx":0505
- Left = 2025
- List = "Test.frx":0518
- Style = 2 'Dropdown List
- TabIndex = 4
- TabStop = 0 'False
- Top = 960
- Width = 2655
- End
- Begin FLATCMBO.FlatCombo FlatCombo1
- Height = 480
- Left = 150
- TabIndex = 6
- Top = 2625
- Width = 480
- _ExtentX = 847
- _ExtentY = 847
- End
- Begin VB.Label Label1
- Caption = $"Test.frx":0549
- Height = 750
- Left = 180
- TabIndex = 5
- Top = 120
- Width = 4530
- WordWrap = -1 'True
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Check1_Click()
- FlatCombo1.Active = -Check1.Value
- End Sub
- Private Sub Check2_Click()
- Combo1.Enabled = -Check2.Value
- End Sub
- Private Sub Command1_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- Set FlatCombo1.Combo = Combo1
- End Sub
-